<child/x/>
<script>
  x = 2;
</script>